From 52742f6c9a027b6e61b4bcf1190aae383637a479 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Sun, 26 May 2019 12:26:44 -0400 Subject: [PATCH] Revert "meson: fix build for arch:i686 , cc:gcc-7" This reverts commit 80347ef5b8706ddc0a2854dd5ff545b2d66ede4a. Adding -march=native is a bad idea as it breaks invalidates individual extension switches (sse, ...) Issue #29 was fixed in e75a27b5346f4c8480180479b7524b1b20ed8321. --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index 38fb165..0561f15 100644 --- a/meson.build +++ b/meson.build @@ -207,7 +207,6 @@ if cc.has_argument('-mmmx') and get_option('enable-mmx') sse2_cflags = '-msse2' conf.set('USE_SSE2', 1, description: 'Define to 1 if sse2 assembly is available.') - add_project_arguments('-march=native', language : 'c') # sse4.1 assembly if cc.has_argument('-msse4.1') and get_option('enable-sse4_1') -- 2.30.2